package com.bbznb.entity;

import java.math.BigDecimal;

public class MyOrder {
    private int id;
    private String username;
    private String title;
    private BigDecimal price;
    private Integer orderStatus;

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public int getId() {
        return id;
    }

    public MyOrder() {
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername( String username) {
        this.username = username;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public MyOrder(int id, String username, String title, BigDecimal price, Integer orderStatus) {
        this.id = id;
        this.username = username;
        this.title = title;
        this.price = price;
        this.orderStatus = orderStatus;
    }
}
